/* ==========================================================================
   PASHUPATINATH FINLAND - SACRED VEDIC MANDIR DESIGN SYSTEM & STYLES
   ========================================================================== */

:root {
    /* Royal Temple Color Palette */
    --gold-primary: #d4af37;
    --gold-bright: #f59e0b;
    --gold-light: #fef08a;
    --gold-dark: #854d0e;
    --gold-foil: linear-gradient(135deg, #bf953f 0%, #fcf6ba 25%, #b38728 50%, #fbf5b7 75%, #aa771c 100%);
    --gold-metallic: linear-gradient(145deg, #e6ca65, #b8860b, #fef08a, #996515);
    
    --maroon-deep: #3b0509;
    --maroon-rich: #580c13;
    --maroon-light: #7c131b;
    --maroon-gradient: linear-gradient(135deg, #3d0508 0%, #680d16 50%, #45060b 100%);
    
    --saffron-sacred: #ea580c;
    --saffron-bright: #f97316;
    --saffron-deep: #c2410c;
    --saffron-gradient: linear-gradient(135deg, #ea580c 0%, #f97316 50%, #d97706 100%);
    
    --wood-dark: #1a0d07;
    --wood-rich: #2c160c;
    --wood-border: #4a2617;
    
    --parchment-bg: #fdfaf4;
    --parchment-card: #fffdf9;
    --parchment-cream: #fbf5e6;
    --parchment-border: #e6d7bc;
    
    --text-primary: #26140d;
    --text-secondary: #5a3c2c;
    --text-muted: #7d5c48;
    --text-light: #fefcf9;
    
    /* Typography */
    --font-heading: 'Rozha One', 'Yatra One', 'Cinzel', serif;
    --font-serif: 'Cinzel', serif;
    --font-nepali: 'Mukta', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-sans: 'Poppins', 'Mukta', sans-serif;
    
    /* Elevation Shadows */
    --shadow-sm: 0 2px 8px rgba(59, 5, 9, 0.06);
    --shadow-md: 0 6px 20px rgba(59, 5, 9, 0.1);
    --shadow-lg: 0 12px 36px rgba(59, 5, 9, 0.14);
    --shadow-gold: 0 0 25px rgba(212, 175, 55, 0.35);
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-nepali);
    background-color: var(--parchment-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Sacred Background Texture */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(212, 175, 55, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 85% 85%, rgba(234, 88, 12, 0.03) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
}

/* Links & Buttons */
a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    outline: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.mandir-container {
    width: 100%;
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

/* ==========================================================================
   TOP BAR (MANTRA & CONTACT)
   ========================================================================== */
.sacred-topbar {
    background: var(--maroon-deep);
    color: #fce7cf;
    font-size: 0.85rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    position: relative;
    z-index: 60;
}

.sacred-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.topbar-mantra {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--gold-light);
    letter-spacing: 0.5px;
}

.topbar-mantra i {
    color: var(--gold-bright);
    animation: diya-pulse 2s infinite ease-in-out;
}

.topbar-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.topbar-links a {
    color: #fcd9b8;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
}

.topbar-links a:hover {
    color: var(--gold-light);
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.mandir-navbar {
    background: var(--maroon-rich);
    background: linear-gradient(180deg, #4f080e 0%, #3e0509 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25), 0 1px 0 rgba(212, 175, 55, 0.35);
    position: sticky;
    top: 0;
    z-index: 50;
    transition: var(--transition-smooth);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 84px;
}

/* Brand Logo & Name */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.brand-logo-wrap {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    padding: 2px;
    background: var(--gold-foil);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.brand-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name-ne {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.brand-name-en {
    font-size: 0.72rem;
    color: var(--gold-bright);
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

/* Desktop Navigation Menu */
.navbar-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    list-style: none;
}

.nav-link {
    font-family: var(--font-nepali);
    font-size: 0.92rem;
    font-weight: 600;
    color: #fbebd8;
    padding: 0.5rem 0.2rem;
    position: relative;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-foil);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--gold-light);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Nav Actions (Admin & Translate) */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-admin {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--gold-foil);
    color: var(--maroon-deep);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.45rem 1rem;
    border-radius: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: var(--transition-smooth);
    border: 1px solid #ffe89e;
    white-space: nowrap;
}

.btn-admin:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.6);
    color: #000;
}

/* Mobile Toggle */
.mobile-toggle-btn {
    display: none;
    background: transparent;
    color: var(--gold-bright);
    font-size: 1.5rem;
    padding: 0.4rem;
}

/* Mobile Menu Drawer */
.mobile-menu-drawer {
    display: none;
    position: fixed;
    top: 84px;
    left: 0;
    width: 100%;
    background: var(--maroon-deep);
    border-bottom: 3px solid var(--gold-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 49;
    padding: 1.25rem;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    max-height: calc(100vh - 84px);
    overflow-y: auto;
}

.mobile-menu-drawer.open {
    display: block;
    transform: translateY(0);
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-nav-link {
    color: #fbebd8;
    font-size: 1.05rem;
    font-weight: 600;
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.mobile-nav-link:hover {
    color: var(--gold-light);
    padding-left: 0.5rem;
}

/* ==========================================================================
   POPUP NOTIFICATION MODAL (JANAI PURNIMA NOTICE)
   ========================================================================== */
.mandir-notice-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 3, 5, 0.88);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: modal-fade-in 0.4s ease-out;
}

.mandir-notice-modal.active {
    display: flex;
}

.notice-modal-dialog {
    position: relative;
    max-width: 520px;
    width: 100%;
    max-height: 92vh;
    background: var(--parchment-card);
    border-radius: 20px;
    border: 3px solid var(--gold-primary);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(212, 175, 55, 0.4);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modal-scale-in 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.notice-modal-header {
    background: var(--maroon-gradient);
    color: #ffffff;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid var(--gold-primary);
}

.notice-modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--gold-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.notice-modal-close-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.notice-modal-close-btn:hover {
    background: #e11d48;
    color: #ffffff;
    transform: rotate(90deg);
}

.notice-modal-body {
    padding: 0.75rem;
    overflow-y: auto;
    text-align: center;
    background: #fdfaf4;
}

.notice-poster-img {
    width: 100%;
    height: auto;
    max-height: 65vh;
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid var(--parchment-border);
    box-shadow: var(--shadow-md);
    margin: 0 auto;
}

.notice-modal-footer {
    background: #ffffff;
    padding: 0.85rem 1.25rem;
    border-top: 1px solid var(--parchment-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.btn-notice-action {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
}

.btn-notice-action.cal {
    background: var(--saffron-gradient);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(234, 88, 12, 0.3);
}

.btn-notice-action.map {
    background: var(--maroon-gradient);
    color: var(--gold-light);
    border: 1px solid var(--gold-primary);
}

.btn-notice-action.dismiss {
    background: #f3f4f6;
    color: #374151;
}

@keyframes modal-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modal-scale-in {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Floating Notice Trigger Button */
.floating-notice-btn {
    position: fixed;
    bottom: 85px;
    right: 25px;
    background: var(--maroon-gradient);
    border: 2px solid var(--gold-bright);
    color: var(--gold-light);
    padding: 0.6rem 1.1rem;
    border-radius: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(245, 158, 11, 0.4);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 98;
    cursor: pointer;
    transition: var(--transition-smooth);
    animation: diya-pulse 3s infinite;
}

.floating-notice-btn:hover {
    transform: translateY(-4px) scale(1.05);
    background: var(--gold-foil);
    color: var(--maroon-deep);
}

/* ==========================================================================
   LIVE REAL-TIME PANCHANG & PATRO HEADER BANNER
   ========================================================================== */
.live-panchang-banner {
    background: linear-gradient(135deg, #42080d 0%, #630c14 50%, #45060b 100%);
    border: 2px solid var(--gold-primary);
    border-radius: 18px;
    padding: 1.25rem 1.75rem;
    margin-bottom: 2.5rem;
    color: #ffffff;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.live-date-left {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.live-calendar-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--gold-foil);
    color: var(--maroon-deep);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.live-cal-day {
    font-size: 1.5rem;
    line-height: 1;
    font-weight: 700;
}

.live-cal-month {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
}

.live-date-info h4 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--gold-light);
    margin-bottom: 0.2rem;
}

.live-date-info p {
    font-size: 0.92rem;
    color: #fce7cf;
    margin: 0;
}

.live-panchang-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.live-tithi-pill {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--gold-bright);
    padding: 0.45rem 1rem;
    border-radius: 30px;
    font-size: 0.88rem;
    color: var(--gold-light);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.live-clock-pill {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.45rem 1rem;
    border-radius: 30px;
    font-size: 0.88rem;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: monospace;
}

/* ==========================================================================
   HERO SANCTUARY SECTION
   ========================================================================== */
.hero-sanctuary {
    position: relative;
    background: linear-gradient(135deg, #fdf6ec 0%, #faede0 40%, #f5dfc8 100%);
    padding: 3.5rem 0 4.5rem 0;
    overflow: hidden;
    border-bottom: 3px solid var(--parchment-border);
}

.hero-sanctuary::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(234, 88, 12, 0.09) 0%, transparent 40%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Hero Content */
.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.hero-mantra-crest {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(92, 12, 19, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 0.4rem 1.1rem;
    border-radius: 30px;
    color: var(--maroon-rich);
    font-size: 0.95rem;
    font-weight: 700;
    width: fit-content;
}

.hero-mantra-crest i {
    color: var(--saffron-sacred);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    line-height: 1.15;
    color: var(--maroon-deep);
}

.hero-title .title-highlight {
    background: linear-gradient(135deg, #7b0f17 0%, #ea580c 60%, #b45309 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    font-size: 3.2rem;
    margin-top: 0.35rem;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 500;
    max-width: 580px;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.btn-primary-mandir {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: var(--saffron-gradient);
    color: #ffffff;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 0.85rem 1.85rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.35);
    border: 1px solid #fbd38d;
    transition: var(--transition-smooth);
}

.btn-primary-mandir:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(234, 88, 12, 0.5);
    background: linear-gradient(135deg, #f97316 0%, #c2410c 100%);
}

.btn-secondary-mandir {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: var(--parchment-card);
    color: var(--maroon-rich);
    font-weight: 700;
    font-size: 1.05rem;
    padding: 0.85rem 1.85rem;
    border-radius: 12px;
    border: 2px solid var(--gold-primary);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.btn-secondary-mandir:hover {
    background: var(--maroon-rich);
    color: var(--gold-light);
    border-color: var(--maroon-rich);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Hero Carousel / Visual Frame */
.hero-slider-frame {
    position: relative;
    background: var(--parchment-card);
    border: 8px solid #ffffff;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(59, 5, 9, 0.18), 0 0 0 2px var(--gold-primary);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    max-height: 480px;
}

.hero-slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
    transform: scale(1.04);
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 1.25rem 0.75rem 1.25rem;
    background: linear-gradient(0deg, rgba(30, 3, 5, 0.85) 0%, rgba(30, 3, 5, 0) 100%);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

/* Carousel Controls */
.slider-control-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    color: var(--maroon-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 5;
    transition: var(--transition-smooth);
}

.slider-control-btn:hover {
    background: var(--gold-foil);
    color: var(--maroon-deep);
    transform: translateY(-50%) scale(1.1);
}

.slider-control-btn.prev {
    left: 12px;
}

.slider-control-btn.next {
    right: 12px;
}

.slider-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 6;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.slider-dot.active {
    background: var(--gold-bright);
    width: 24px;
    border-radius: 10px;
}

/* Live Mantra Marquee */
.mantra-ticker-banner {
    background: var(--maroon-deep);
    color: var(--gold-light);
    padding: 0.65rem 0;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.mantra-ticker-track {
    display: inline-block;
    animation: marquee-scroll 35s linear infinite;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    letter-spacing: 1px;
}

.mantra-ticker-track span {
    margin: 0 2rem;
    color: #fdf5e8;
}

.mantra-ticker-track span i {
    color: var(--gold-bright);
    margin: 0 0.5rem;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   SACRED SECTION HEADERS
   ========================================================================== */
.sacred-section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.sacred-shloka-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.45);
    padding: 0.35rem 1.25rem;
    border-radius: 30px;
    color: var(--maroon-rich);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.sacred-shloka-badge i {
    color: var(--gold-bright);
}

.sacred-title {
    font-family: var(--font-heading);
    font-size: 2.35rem;
    color: var(--maroon-deep);
    line-height: 1.25;
    margin-bottom: 0.5rem;
}

.sacred-subtitle {
    font-size: 1.08rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 1rem auto;
}

.sacred-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    max-width: 280px;
    margin: 0 auto;
}

.sacred-divider-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.sacred-divider-icon {
    color: var(--gold-bright);
    font-size: 1.2rem;
    animation: rotate-slow 20s linear infinite;
}

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   ABOUT / WELCOME SECTION
   ========================================================================== */
.about-mandir-section {
    padding: 5rem 0;
    background: #ffffff;
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 3.5rem;
    align-items: center;
}

.about-image-wrap {
    position: relative;
}

.about-image-frame {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 6px solid #ffffff;
    outline: 2px solid var(--gold-primary);
}

.about-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-image-frame:hover img {
    transform: scale(1.03);
}

.about-floating-badge {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background: var(--maroon-gradient);
    color: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    border: 2px solid var(--gold-bright);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.about-floating-badge i {
    font-size: 2rem;
    color: var(--gold-bright);
}

.about-floating-badge .badge-text-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--gold-light);
}

.about-floating-badge .badge-text-sub {
    font-size: 0.85rem;
    color: #fde8e8;
}

.about-text-content h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--maroon-deep);
    margin-bottom: 1rem;
}

.about-text-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.about-pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}

.pillar-card {
    background: var(--parchment-bg);
    border: 1px solid var(--parchment-border);
    border-radius: 14px;
    padding: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: var(--transition-smooth);
}

.pillar-card:hover {
    transform: translateY(-3px);
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-sm);
    background: #ffffff;
}

.pillar-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--maroon-gradient);
    color: var(--gold-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(92, 12, 19, 0.2);
}

.pillar-info h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--maroon-deep);
    margin-bottom: 0.25rem;
}

.pillar-info p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.4;
}

/* ==========================================================================
   PANCHANG, PATRO & HOROSCOPE SECTION
   ========================================================================== */
.panchang-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #fdfaf4 0%, #f6ebdc 100%);
    position: relative;
    border-top: 1px solid var(--parchment-border);
    border-bottom: 1px solid var(--parchment-border);
}

.panchang-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.panchang-card {
    background: #ffffff;
    border: 1px solid var(--parchment-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

.panchang-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-primary);
}

.panchang-card-header {
    background: var(--maroon-gradient);
    color: #ffffff;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid var(--gold-primary);
}

.panchang-card-header h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--gold-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.panchang-card-header span {
    font-size: 0.82rem;
    color: #fcd9b8;
}

.panchang-card-body {
    padding: 1rem;
    background: #ffffff;
}

.panchang-card-body iframe {
    width: 100%;
    border: none;
    border-radius: 8px;
    display: block;
}

.panchang-credit {
    font-size: 0.78rem;
    color: #888888;
    text-align: right;
    margin-top: 0.4rem;
    padding: 0 0.5rem;
}

.panchang-credit a {
    color: var(--saffron-sacred);
    text-decoration: underline;
}

.horoscope-card-full {
    background: #ffffff;
    border: 1px solid var(--parchment-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   DEVOTIONAL PHOTO GALLERY SECTION
   ========================================================================== */
.gallery-section {
    padding: 5rem 0;
    background: #ffffff;
    position: relative;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-sm);
    border: 3px solid #ffffff;
    outline: 1px solid var(--parchment-border);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.gallery-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-lg), var(--shadow-gold);
    outline-color: var(--gold-primary);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(59, 5, 9, 0.85) 0%, rgba(59, 5, 9, 0.1) 60%, transparent 100%);
    opacity: 0;
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay-text {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
}

.gallery-zoom-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gold-foil);
    color: var(--maroon-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Lightbox Modal */
.mandir-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(15, 3, 5, 0.92);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.mandir-lightbox.active {
    display: flex;
}

.lightbox-content-wrap {
    max-width: 900px;
    max-height: 85vh;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 4px solid var(--gold-primary);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.5);
}

.lightbox-content-wrap img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    display: block;
}

.lightbox-close-btn {
    position: absolute;
    top: -45px;
    right: 0;
    color: #ffffff;
    font-size: 1.75rem;
    cursor: pointer;
    background: transparent;
    transition: var(--transition-smooth);
}

.lightbox-close-btn:hover {
    color: var(--gold-bright);
    transform: scale(1.2);
}

/* ==========================================================================
   WORSHIP & RECENT CELEBRATIONS (VIDEOS)
   ========================================================================== */
.worship-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #fdf6ec 0%, #f6ebdc 100%);
    position: relative;
    border-top: 1px solid var(--parchment-border);
}

.featured-video-card {
    background: #ffffff;
    border: 2px solid var(--gold-primary);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    max-width: 960px;
    margin: 0 auto 3.5rem auto;
}

.featured-video-title-wrap {
    text-align: center;
    margin-bottom: 1.25rem;
}

.featured-video-title-wrap h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--maroon-deep);
}

.featured-video-title-wrap p {
    color: var(--saffron-sacred);
    font-weight: 600;
    font-size: 0.95rem;
}

.video-player-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    background: #000000;
}

.video-player-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Video Grid */
.celebrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.celebration-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--parchment-border);
    transition: var(--transition-smooth);
}

.celebration-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-primary);
}

.celebration-thumb-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.celebration-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.celebration-card:hover .celebration-thumb-wrap img {
    transform: scale(1.06);
}

.play-badge-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.play-badge-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--saffron-gradient);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.5);
    transition: transform 0.3s ease;
}

.celebration-card:hover .play-badge-icon {
    transform: scale(1.15);
}

.celebration-card-body {
    padding: 1.25rem;
}

.celebration-card-body h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--maroon-deep);
    margin-bottom: 0.35rem;
}

.celebration-card-body span {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ==========================================================================
   UPCOMING EVENTS CALENDAR SECTION
   ========================================================================== */
.events-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #fff9f2 100%);
    position: relative;
}

.events-calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.mandir-event-card {
    background: var(--parchment-card);
    border-radius: 20px;
    border: 1px solid var(--parchment-border);
    box-shadow: var(--shadow-md);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.mandir-event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold-foil);
}

.mandir-event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg), var(--shadow-gold);
    border-color: var(--gold-primary);
}

.event-card-top {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.calendar-date-block {
    background: var(--maroon-gradient);
    color: #ffffff;
    border-radius: 14px;
    padding: 0.75rem 0.6rem;
    min-width: 80px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(92, 12, 19, 0.25);
    border: 1px solid var(--gold-primary);
    flex-shrink: 0;
}

.calendar-month-badge {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--gold-light);
    letter-spacing: 0.5px;
}

.calendar-day-num {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    line-height: 1;
    margin: 0.2rem 0;
    color: #ffffff;
}

.calendar-weekday-badge {
    font-size: 0.65rem;
    font-weight: 600;
    color: #fcd9b8;
}

.event-headline-wrap {
    flex: 1;
}

.event-category-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--saffron-deep);
    background: rgba(234, 88, 12, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    margin-bottom: 0.35rem;
}

.event-card-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--maroon-deep);
    line-height: 1.3;
    margin-bottom: 0.25rem;
}

.event-card-eng-title {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.event-meta-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    padding-top: 0.75rem;
    border-top: 1px dashed var(--parchment-border);
}

.event-meta-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.event-meta-item i {
    color: var(--saffron-sacred);
    width: 16px;
    text-align: center;
}

.event-notes-box {
    background: rgba(212, 175, 55, 0.08);
    border-left: 3px solid var(--gold-bright);
    padding: 0.75rem 1rem;
    border-radius: 0 8px 8px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.event-actions-row {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
}

.btn-calendar-add {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: var(--maroon-gradient);
    color: var(--gold-light);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    border: 1px solid var(--gold-primary);
    transition: var(--transition-smooth);
}

.btn-calendar-add:hover {
    background: #000000;
    color: #ffffff;
}

.btn-event-directions {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: #ffffff;
    color: var(--maroon-rich);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--parchment-border);
    transition: var(--transition-smooth);
}

.btn-event-directions:hover {
    background: var(--parchment-cream);
    border-color: var(--gold-primary);
}

/* ==========================================================================
   COMMITTEE - SHILAPATRA MEMORIAL BRASS BOARD (कार्य समिति)
   ========================================================================== */
.team-section {
    padding: 5.5rem 0;
    background: linear-gradient(180deg, #2b1308 0%, #1f0c05 100%);
    color: #fdf5e8;
    position: relative;
    border-top: 4px solid var(--gold-primary);
    border-bottom: 4px solid var(--gold-primary);
}

.temple-naming-board {
    background: radial-gradient(circle at center, #3d1b0d 0%, #200d05 100%);
    border: 4px solid var(--gold-primary);
    border-radius: 28px;
    padding: 3.5rem 2.5rem;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), inset 0 0 30px rgba(0, 0, 0, 0.8);
}

/* Brass Rivets */
.board-rivet {
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--gold-foil);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.8), inset 0 2px 4px rgba(255, 255, 255, 0.8);
    border: 2px solid #5a3c0e;
}

.board-rivet.top-left { top: 18px; left: 18px; }
.board-rivet.top-right { top: 18px; right: 18px; }
.board-rivet.bottom-left { bottom: 18px; left: 18px; }
.board-rivet.bottom-right { bottom: 18px; right: 18px; }

.temple-board-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.temple-crown-crest {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.temple-kalash-icon {
    font-size: 3rem;
    color: var(--gold-bright);
    text-shadow: 0 0 20px rgba(245, 158, 11, 0.6);
}

.shloka-mantra-line {
    font-family: var(--font-heading);
    color: var(--gold-light);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.board-main-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    color: #ffffff;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.8);
    margin-bottom: 0.25rem;
}

.board-sub-title {
    font-size: 1.25rem;
    color: var(--gold-bright);
    font-weight: 600;
    letter-spacing: 1px;
}

.board-term-tag {
    display: inline-block;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--gold-primary);
    color: #fde68a;
    padding: 0.35rem 1.25rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-top: 0.75rem;
}

/* Tier Titles */
.tier-section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 2.5rem 0 1.75rem 0;
}

.tier-title-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-primary));
}

.tier-title-line.right {
    background: linear-gradient(90deg, var(--gold-primary), transparent);
}

.tier-title-text {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--gold-light);
    letter-spacing: 0.5px;
}

/* Executive Officers Grid */
.executive-board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.brass-executive-card {
    background: linear-gradient(145deg, #421c0e, #2b1107);
    border: 2px solid var(--gold-primary);
    border-radius: 18px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(212, 175, 55, 0.15);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.brass-executive-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-bright);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.3);
}

.executive-position-banner {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--gold-foil);
    color: var(--maroon-deep);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    margin-bottom: 0.85rem;
}

.executive-member-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.executive-role-en {
    font-size: 0.85rem;
    color: var(--gold-light);
    font-weight: 500;
}

/* Members Grid */
.members-board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.brass-member-plate {
    background: rgba(50, 20, 10, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    transition: var(--transition-smooth);
}

.brass-member-plate:hover {
    background: rgba(70, 30, 15, 0.85);
    border-color: var(--gold-primary);
    transform: translateX(4px);
}

.member-diya-bullet {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gold-foil);
    color: var(--maroon-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.member-designation-mini {
    font-size: 0.72rem;
    color: var(--gold-bright);
    font-weight: 600;
}

.member-name-text {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
}

/* Board Blessing Footer */
.board-blessing-footer {
    text-align: center;
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 1px dashed rgba(212, 175, 55, 0.4);
}

.blessing-sanskrit-shloka {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--gold-light);
    margin-bottom: 0.5rem;
}

.blessing-translation {
    font-size: 0.88rem;
    color: #e2c0a8;
}

/* ==========================================================================
   SUBSCRIBE & NEWSLETTER SECTION
   ========================================================================== */
.subscribe-section {
    padding: 5rem 0;
    background: var(--saffron-gradient);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.subscribe-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.subscribe-box {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.subscribe-box h2 {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.subscribe-box p {
    font-size: 1.15rem;
    color: #fff2e0;
    margin-bottom: 2rem;
}

.subscribe-form-wrap {
    display: flex;
    gap: 0.75rem;
    max-width: 580px;
    margin: 0 auto;
}

.subscribe-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: #ffffff;
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
    transition: var(--transition-smooth);
}

.subscribe-input:focus {
    border-color: var(--maroon-rich);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.btn-subscribe-submit {
    background: var(--maroon-gradient);
    color: var(--gold-light);
    font-weight: 700;
    font-size: 1rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--gold-primary);
    box-shadow: 0 4px 15px rgba(59, 5, 9, 0.3);
    transition: var(--transition-smooth);
}

.btn-subscribe-submit:hover {
    background: #000000;
    color: #ffffff;
    transform: translateY(-2px);
}

.subscribe-message {
    margin-top: 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: none;
}

.subscribe-message.success {
    background: rgba(16, 185, 129, 0.9);
    color: #ffffff;
}

.subscribe-message.error {
    background: rgba(239, 68, 68, 0.9);
    color: #ffffff;
}

.subscribe-message.info {
    background: rgba(59, 130, 246, 0.9);
    color: #ffffff;
}

/* ==========================================================================
   SANATAN TEMPLE FOOTER
   ========================================================================== */
.mandir-footer {
    background: var(--maroon-deep);
    color: #f7e6d5;
    padding: 4.5rem 0 1.5rem 0;
    position: relative;
    border-top: 4px solid var(--gold-primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 3.5rem;
    margin-bottom: 3.5rem;
}

.footer-brand-col h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--gold-light);
    margin-bottom: 0.5rem;
}

.footer-brand-col p {
    font-size: 0.95rem;
    color: #ebd0b5;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-social-links {
    display: flex;
    gap: 0.75rem;
}

.footer-social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: var(--transition-smooth);
}

.footer-social-btn:hover {
    background: var(--gold-foil);
    color: var(--maroon-deep);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--gold-bright);
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gold-primary);
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-links-list a {
    color: #ebd0b5;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links-list a:hover {
    color: var(--gold-light);
    padding-left: 0.35rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #ebd0b5;
}

.footer-contact-item i {
    color: var(--gold-bright);
    font-size: 1.1rem;
    margin-top: 0.2rem;
}

.footer-bottom-bar {
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    text-align: center;
    font-size: 0.88rem;
    color: #d1b297;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-bar a {
    color: var(--gold-bright);
    font-weight: 600;
}

.footer-bottom-bar a:hover {
    color: var(--gold-light);
    text-decoration: underline;
}

/* Floating Back to Top */
.back-to-top-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gold-foil);
    color: var(--maroon-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 99;
    border: 2px solid #ffffff;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
}

/* Animations */
@keyframes diya-pulse {
    0%, 100% { filter: drop-shadow(0 0 3px rgba(245, 158, 11, 0.8)); }
    50% { filter: drop-shadow(0 0 10px rgba(234, 88, 12, 1)); }
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-slider-frame {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .live-panchang-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .live-date-left {
        flex-direction: column;
    }
    
    .live-panchang-right {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .navbar-nav {
        display: none;
    }
    
    .mobile-toggle-btn {
        display: block;
    }
    
    .topbar-mantra span {
        font-size: 0.75rem;
    }
    
    .brand-name-ne {
        font-size: 1.1rem;
    }
    
    .brand-name-en {
        font-size: 0.65rem;
    }
    
    .hero-title {
        font-size: 2.1rem;
    }
    
    .hero-title .title-highlight {
        font-size: 2.35rem;
    }
    
    .hero-description {
        font-size: 1.05rem;
    }
    
    .btn-primary-mandir, .btn-secondary-mandir {
        width: 100%;
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .panchang-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .events-calendar-grid {
        grid-template-columns: 1fr;
    }
    
    .subscribe-form-wrap {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-bar {
        flex-direction: column;
        text-align: center;
    }
    
    .temple-naming-board {
        padding: 2rem 1rem;
    }
    
    .board-main-title {
        font-size: 2.2rem;
    }
    
    .board-sub-title {
        font-size: 1rem;
    }
    
    .shloka-mantra-line {
        font-size: 0.85rem;
    }
    
    .about-pillars-grid {
        grid-template-columns: 1fr;
    }
    
    .floating-notice-btn {
        bottom: 80px;
        right: 15px;
        padding: 0.5rem 0.85rem;
        font-size: 0.78rem;
    }
    
    .back-to-top-btn {
        bottom: 20px;
        right: 15px;
        width: 42px;
        height: 42px;
    }
    
    .notice-modal-footer {
        flex-direction: column;
    }
    
    .notice-modal-footer a, .notice-modal-footer button {
        width: 100%;
        justify-content: center;
    }
}
